package com.db.patterns.prototype.demo03;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Data
public class Client {
    public static void main(String[] args) {
        //创建指挥者对象
        Director director = new Director(new IntelBuilder());
        //让指挥者去创建电脑
        Computer construct = director.construct();
        log.info("construct = {}", construct);
    }
}
